gskrenderer: Make the window property not construct
authorMatthias Clasen <mclasen@redhat.com>
Fri, 6 Oct 2017 23:29:42 +0000 (19:29 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 6 Oct 2017 23:29:42 +0000 (19:29 -0400)
We never set this, since it is assigned as a side-effect
of realizing the renderer. Make this a plain readonly property.

gsk/gskrenderer.c

index 1c241660f6b76970f8b7063430bc81b2a624fd9b..e4ab4e97bc8cf1d2fc9f9af8fb9a60dfb57c71a4 100644 (file)
@@ -321,8 +321,7 @@ gsk_renderer_class_init (GskRendererClass *klass)
                          "Window",
                          "The window associated to the renderer",
                          GDK_TYPE_WINDOW,
-                         G_PARAM_READWRITE |
-                         G_PARAM_CONSTRUCT_ONLY |
+                         G_PARAM_READABLE |
                          G_PARAM_STATIC_STRINGS);
 
   /**